package cn.tedu.dao;

import cn.tedu.pojo.User;

import java.util.List;

public interface UserDAO {

    public List<User> findAll();

    public List<User> findByLikeName(String name);

    public User findUserByUP(String username,String password);

    public User findUserById(int id);

    public int insert(User user);

    public int delete(int id);

    public int update(User user);


}
